package com.jiuyun.entity;

public class Studenta {
    int stid;
    int classid;
    String stname;
    String stpass;
    String stsex;

    public Studenta() {
    }

    public Studenta(int stid, int classid, String stname, String stpass, String stsex) {
        this.stid = stid;
        this.classid = classid;
        this.stname = stname;
        this.stpass = stpass;
        this.stsex = stsex;
    }

    public int getStid() {
        return stid;
    }

    public void setStid(int stid) {
        this.stid = stid;
    }

    public int getClassid() {
        return classid;
    }

    public void setClassid(int classid) {
        this.classid = classid;
    }

    public String getStname() {
        return stname;
    }

    public void setStname(String stname) {
        this.stname = stname;
    }

    public String getStpass() {
        return stpass;
    }

    public void setStpass(String stpass) {
        this.stpass = stpass;
    }

    public String getStsex() {
        return stsex;
    }

    public void setStsex(String stsex) {
        this.stsex = stsex;
    }

    public Studenta(int classid, String stname, String stpass, String stsex) {
        this.classid = classid;
        this.stname = stname;
        this.stpass = stpass;
        this.stsex = stsex;
    }

    public Studenta(String stname, String stpass) {
        this.stname = stname;
        this.stpass = stpass;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stid=" + stid +
                ", classid=" + classid +
                ", stname='" + stname + '\'' +
                ", stpass='" + stpass + '\'' +
                ", stsex='" + stsex + '\'' +
                '}';
    }
}
